<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="UTF-8" />
    <title>Item - Text</title>
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
    />
    <link href="../../../../../css/ionic.bundle.css" rel="stylesheet" />
    <link href="../../../../../scripts/testing/styles.css" rel="stylesheet" />
    <script src="../../../../../scripts/testing/scripts.js"></script>
    <script nomodule src="../../../../../dist/ionic/ionic.js"></script>
    <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
  </head>

  <body>
    <ion-app>
      <ion-header>
        <ion-toolbar>
          <ion-title>Item Text</ion-title>
        </ion-toolbar>
      </ion-header>

      <ion-content id="content" class="outer-content">
        <ion-list>
          <ion-list-header>
            <ion-label> List Header </ion-label>
          </ion-list-header>
          <ion-item>
            <ion-label> Item </ion-label>
          </ion-item>
          <ion-item-divider>
            <ion-label> Item Divider </ion-label>
          </ion-item-divider>
          <ion-item>
            <ion-label> Item </ion-label>
          </ion-item>
        </ion-list>

        <ion-item>
          <ion-label> Plain Ol' div with some text </ion-label>
        </ion-item>

        <ion-item>
          <ion-label> Single line text that should have ellipses when it doesn't all fit in the item </ion-label>
        </ion-item>

        <ion-item lines="none">
          <ion-label> Single line item with no lines </ion-label>
        </ion-item>

        <ion-item>
          <ion-label class="ion-text-wrap">
            Multiline text that should wrap when it is too long to fit on one line in the item. Attribute on .item
          </ion-label>
        </ion-item>

        <ion-item color="secondary">
          <ion-label class="ion-text-wrap">
            <h1>H1 Title Text</h1>
            <p>Paragraph line 1</p>
          </ion-label>
        </ion-item>

        <ion-item>
          <ion-label class="ion-text-wrap">
            <h2>H2 Title Text</h2>
            <p>Paragraph line 1</p>
          </ion-label>
        </ion-item>

        <ion-item>
          <ion-label class="ion-text-wrap">
            <ion-text color="primary">
              <h3>H3 Title Text</h3>
            </ion-text>
            <p>Paragraph line 1</p>
            <ion-text color="secondary">
              <p>Paragraph line 2 secondary</p>
            </ion-text>
          </ion-label>
        </ion-item>

        <ion-item>
          <ion-label class="ion-text-wrap">
            <h4>H4 Title Text</h4>
            <p>Paragraph line 1</p>
            <p>Paragraph line 2</p>
            <p>Paragraph line 3</p>
          </ion-label>
        </ion-item>

        <ion-item>
          <ion-label> Item using inner ion-label </ion-label>
        </ion-item>

        <ion-item>
          <ion-label> ion-label </ion-label>
          <div>div</div>
        </ion-item>
      </ion-content>

      <style>
        .outer-content {
          --background: #f2f2f2;
        }
      </style>
    </ion-app>
  </body>
</html>
